import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/api/@ohos.notificationManager.d.ts',
  content: "/*\n * Copyright (c) 2022-2024 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\"),\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit NotificationKit\n */\nimport { AsyncCallback } from './@ohos.base';\nimport { BundleOption as _BundleOption } from './notification/NotificationCommonDef';\nimport { NotificationActionButton as _NotificationActionButton } from './notification/notificationActionButton';\nimport { NotificationBasicContent as _NotificationBasicContent } from './notification/notificationContent';\nimport { NotificationContent as _NotificationContent } from './notification/notificationContent';\nimport { NotificationLongTextContent as _NotificationLongTextContent } from './notification/notificationContent';\nimport { NotificationMultiLineContent as _NotificationMultiLineContent } from './notification/notificationContent';\nimport { NotificationPictureContent as _NotificationPictureContent } from './notification/notificationContent';\nimport { NotificationSystemLiveViewContent as _NotificationSystemLiveViewContent } from './notification/notificationContent';\nimport { NotificationCapsule as _NotificationCapsule } from './notification/notificationContent';\nimport { NotificationButton as _NotificationButton } from './notification/notificationContent';\nimport { NotificationTime as _NotificationTime } from './notification/notificationContent';\nimport { NotificationProgress as _NotificationProgress } from './notification/notificationContent';\nimport { NotificationRequest as _NotificationRequest } from './notification/notificationRequest';\nimport { DistributedOptions as _DistributedOptions } from './notification/notificationRequest';\nimport { NotificationSlot as _NotificationSlot } from './notification/notificationSlot';\nimport { NotificationTemplate as _NotificationTemplate } from './notification/notificationTemplate';\nimport { NotificationUserInput as _NotificationUserInput } from './notification/notificationUserInput';\nimport type UIAbilityContext from './application/UIAbilityContext';\n/**\n * The NotificationManager module provides notification management capabilities, covering notifications,\n * notification slots, notification enabled status, and notification badge status.\n *\n * @namespace notificationManager\n * @syscap SystemCapability.Notification.Notification\n * @since 9\n */\n/**\n * The NotificationManager module provides notification management capabilities, covering notifications,\n * notification slots, notification enabled status, and notification badge status.\n *\n * @namespace notificationManager\n * @syscap SystemCapability.Notification.Notification\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare namespace notificationManager {\n    /**\n     * Publish a notification. This API uses an asynchronous callback to return the result.\n     * If the ID and label of the new notification are the same as that of the previous notification, the new one replaces the previous one.\n     *\n     * @param { NotificationRequest } request - Content and related configuration of the notification to publish.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600005 - Notification slot disabled.\n     * @throws { BusinessError } 1600009 - The notification sending frequency reaches the upper limit.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Publish a notification. This API uses an asynchronous callback to return the result.\n     * If the ID and label of the new notification are the same as that of the previous notification, the new one replaces the previous one.\n     *\n     * @param { NotificationRequest } request - Content and related configuration of the notification to publish.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600005 - Notification slot disabled.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @throws { BusinessError } 1600009 - The notification sending frequency reaches the upper limit.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @throws { BusinessError } 1600014 - No permission.\n     * @throws { BusinessError } 1600015 - The current notification status does not support duplicate configurations.\n     * @throws { BusinessError } 1600016 - The notification version for this update is too low.\n     * @throws { BusinessError } 2300007 - Network unreachable.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    /**\n     * Publish a notification. This API uses an asynchronous callback to return the result.\n     * If the ID and label of the new notification are the same as that of the previous notification, the new one replaces the previous one.\n     *\n     * @param { NotificationRequest } request - Content and related configuration of the notification to publish.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600005 - Notification slot disabled.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @throws { BusinessError } 1600009 - The notification sending frequency reaches the upper limit.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @throws { BusinessError } 1600014 - No permission.\n     * @throws { BusinessError } 1600015 - The current notification status does not support duplicate configurations.\n     * @throws { BusinessError } 1600016 - The notification version for this update is too low.\n     * @throws { BusinessError } 1600020 - The application is not allowed to send notifications due to permission settings.\n     * @throws { BusinessError } 2300007 - Network unreachable.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function publish(request: NotificationRequest, callback: AsyncCallback<void>): void;\n    /**\n     * Publish a notification. This API uses a promise to return the URI of the file in the destination directory.\n     * If the ID and label of the new notification are the same as that of the previous notification, the new one replaces the previous one.\n     *\n     * @param { NotificationRequest } request - Content and related configuration of the notification to publish.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600005 - Notification slot disabled.\n     * @throws { BusinessError } 1600009 - The notification sending frequency reaches the upper limit.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Publish a notification. This API uses a promise to return the URI of the file in the destination directory.\n     * If the ID and label of the new notification are the same as that of the previous notification, the new one replaces the previous one.\n     *\n     * @param { NotificationRequest } request - Content and related configuration of the notification to publish.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600005 - Notification slot disabled.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @throws { BusinessError } 1600009 - The notification sending frequency reaches the upper limit.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @throws { BusinessError } 1600014 - No permission.\n     * @throws { BusinessError } 1600015 - The current notification status does not support duplicate configurations.\n     * @throws { BusinessError } 1600016 - The notification version for this update is too low.\n     * @throws { BusinessError } 2300007 - Network unreachable.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    /**\n     * Publish a notification. This API uses a promise to return the URI of the file in the destination directory.\n     * If the ID and label of the new notification are the same as that of the previous notification, the new one replaces the previous one.\n     *\n     * @param { NotificationRequest } request - Content and related configuration of the notification to publish.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600005 - Notification slot disabled.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @throws { BusinessError } 1600009 - The notification sending frequency reaches the upper limit.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @throws { BusinessError } 1600014 - No permission.\n     * @throws { BusinessError } 1600015 - The current notification status does not support duplicate configurations.\n     * @throws { BusinessError } 1600016 - The notification version for this update is too low.\n     * @throws { BusinessError } 1600020 - The application is not allowed to send notifications due to permission settings.\n     * @throws { BusinessError } 2300007 - Network unreachable.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function publish(request: NotificationRequest): Promise<void>;\n    /**\n     * Cancels a notification with the specified ID. This API uses an asynchronous callback to return the result.\n     *\n     * @param { number } id - Notification ID.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Cancels a notification with the specified ID. This API uses an asynchronous callback to return the result.\n     *\n     * @param { number } id - Notification ID.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function cancel(id: number, callback: AsyncCallback<void>): void;\n    /**\n     * Cancels a notification with the specified ID and label. This API uses an asynchronous callback to return the result.\n     *\n     * @param { number } id - Notification ID.\n     * @param { string } label - Notification label.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function cancel(id: number, label: string, callback: AsyncCallback<void>): void;\n    /**\n     * Cancels a notification with the specified ID and optional label. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { number } id - Notification ID.\n     * @param { string } [label] - Notification label. This parameter is left empty by default.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600007 - The notification does not exist.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function cancel(id: number, label?: string): Promise<void>;\n    /**\n     * Cancels all notifications of this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Cancels all notifications of this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function cancelAll(callback: AsyncCallback<void>): void;\n    /**\n     * Cancels all notifications of this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Cancels all notifications of this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function cancelAll(): Promise<void>;\n    /**\n     * Adds a notification slot of a specified type. This API uses an asynchronous callback to return the result.\n     *\n     * @param { SlotType } type - Type of the notification slot to add.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function addSlot(type: SlotType, callback: AsyncCallback<void>): void;\n    /**\n     * Adds a notification slot of a specified type. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { SlotType } type - Type of the notification slot to add.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function addSlot(type: SlotType): Promise<void>;\n    /**\n     * Obtains a notification slot of a specified type. This API uses an asynchronous callback to return the result.\n     *\n     * @param { SlotType } slotType - Type of a notification slot, including social communication, service notification, and content consultation.\n     * @param { AsyncCallback<NotificationSlot> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getSlot(slotType: SlotType, callback: AsyncCallback<NotificationSlot>): void;\n    /**\n     * Obtains a notification slot of a specified type. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { SlotType } slotType - Type of a notification slot, including social communication, service notification, and content consultation.\n     * @returns { Promise<NotificationSlot> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getSlot(slotType: SlotType): Promise<NotificationSlot>;\n    /**\n     * Obtains all notification slots of this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<Array<NotificationSlot>> } callback - Callback used to return all notification slots of the current application.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getSlots(callback: AsyncCallback<Array<NotificationSlot>>): void;\n    /**\n     * Obtains all notification slots of this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<Array<NotificationSlot>> } Promise used to return all notification slots of the current application.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getSlots(): Promise<Array<NotificationSlot>>;\n    /**\n     * Removes a notification slot of a specified type for this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { SlotType } slotType - Type of a notification slot, including social communication, service notification, and content consultation.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function removeSlot(slotType: SlotType, callback: AsyncCallback<void>): void;\n    /**\n     * Removes a notification slot of a specified type for this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { SlotType } slotType - Type of a notification slot, including social communication, service notification, and content consultation.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function removeSlot(slotType: SlotType): Promise<void>;\n    /**\n     * Removes all notification slots for this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function removeAllSlots(callback: AsyncCallback<void>): void;\n    /**\n     * Removes all notification slots for this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function removeAllSlots(): Promise<void>;\n    \n    /**\n     * Checks whether notification is enabled for the specified application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<boolean> } callback - Callback used to return the result. The value true means that the\n     *                                              notification is enabled, and false means the opposite.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600008 - The user does not exist.\n     * @throws { BusinessError } 17700001 - The specified bundle name was not found.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    /**\n     * Checks whether notification is enabled for the specified application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<boolean> } callback - Callback used to return the result. The value true means that the\n     *                                              notification is enabled, and false means the opposite.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600008 - The user does not exist.\n     * @throws { BusinessError } 17700001 - The specified bundle name was not found.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function isNotificationEnabled(callback: AsyncCallback<boolean>): void;\n    \n    /**\n     * Checks whether notification is enabled for the specified application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<boolean> } Promise used to return the result. The value true means that the notification is enabled, and false means the opposite.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600008 - The user does not exist.\n     * @throws { BusinessError } 17700001 - The specified bundle name was not found.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    /**\n     * Checks whether notification is enabled for the specified application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<boolean> } Promise used to return the result. The value true means that the notification is enabled, and false means the opposite.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600008 - The user does not exist.\n     * @throws { BusinessError } 17700001 - The specified bundle name was not found.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    function isNotificationEnabled(): Promise<boolean>;\n    /**\n     * Synchronously checks whether notification is enabled for the specified application.\n     *\n     * @returns { boolean } Returned result. true: enabled; false: returned.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 12\n     */\n    function isNotificationEnabledSync(): boolean;\n    /**\n     * Obtains the number of active notifications of this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<number> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getActiveNotificationCount(callback: AsyncCallback<number>): void;\n    /**\n     * Obtains the number of active notifications of this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<number> } Promise used to return the result.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getActiveNotificationCount(): Promise<number>;\n    /**\n     * Obtains the active notifications of this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<Array<NotificationRequest>> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void;\n    /**\n     * Obtains the active notifications of this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<Array<NotificationRequest>> } Promise used to return the result.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function getActiveNotifications(): Promise<Array<NotificationRequest>>;\n    /**\n     * Cancels notifications under a notification group of this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { string } groupName - Name of the notification group, which is specified through NotificationRequest when the notification is published.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function cancelGroup(groupName: string, callback: AsyncCallback<void>): void;\n    /**\n     * Cancels notifications under a notification group of this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { string } groupName - Name of the notification group, which is specified through NotificationRequest when the notification is published.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function cancelGroup(groupName: string): Promise<void>;\n    /**\n     * Checks whether a specified template is supported. This API uses an asynchronous callback to return the result.\n     *\n     * @param { string } templateName - Template name. Currently, only downloadTemplate is supported.\n     * @param { AsyncCallback<boolean> } callback - Callback used to return the result. The value true means that the\n     *                                              specified template is supported, and false means the opposite.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function isSupportTemplate(templateName: string, callback: AsyncCallback<boolean>): void;\n    /**\n     * Checks whether a specified template is supported. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { string } templateName - Template name. Currently, only downloadTemplate is supported.\n     * @returns { Promise<boolean> } Promise used to return the result. The value true means that the specified template\n     *                               is supported, and false means the opposite.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function isSupportTemplate(templateName: string): Promise<boolean>;\n    /**\n     * Requests notification to be enabled for this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Requests notification to be enabled for this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    /**\n     * Requests notification to be enabled for this application. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     * @deprecated since 12\n     * @useinstead requestEnableNotification\n     */\n    function requestEnableNotification(callback: AsyncCallback<void>): void;\n    /**\n     * Requests notification to be enabled for this application in a modal. This API uses an asynchronous callback to return the result.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification dialog box.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @StageModelOnly\n     * @since 10\n     */\n    /**\n     * Requests notification to be enabled for this application in a modal. This API uses an asynchronous callback to return the result.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification dialog box.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @StageModelOnly\n     * @since 11\n     */\n    /**\n     * Requests notification to be enabled for this application in a modal. This API uses an asynchronous callback to return the result.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification dialog box.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @StageModelOnly\n     * @crossplatform\n     * @since 12\n     */\n    function requestEnableNotification(context: UIAbilityContext, callback: AsyncCallback<void>): void;\n    /**\n     * Requests notification to be enabled for this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Requests notification to be enabled for this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    /**\n     * Requests notification to be enabled for this application. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     * @deprecated since 12\n     * @useinstead requestEnableNotification\n     */\n    function requestEnableNotification(): Promise<void>;\n    /**\n     * Requests notification to be enabled for this application in a modal. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification dialog box.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @StageModelOnly\n     * @since 10\n     */\n    /**\n     * Requests notification to be enabled for this application in a modal. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification dialog box.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @StageModelOnly\n     * @since 11\n     */\n    /**\n     * Requests notification to be enabled for this application in a modal. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification dialog box.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600004 - Notification disabled.\n     * @throws { BusinessError } 1600013 - A notification dialog box is already displayed.\n     * @syscap SystemCapability.Notification.Notification\n     * @StageModelOnly\n     * @crossplatform\n     * @since 12\n     */\n    function requestEnableNotification(context: UIAbilityContext): Promise<void>;\n    /**\n     * Checks whether distributed notification is enabled on this device. This API uses an asynchronous callback to return the result.\n     *\n     * @param { AsyncCallback<boolean> } callback - Callback used to return the result. The value true means that\n     *                                              distributed notification is enabled, and false means the opposite.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600010 - Distributed operation failed.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function isDistributedEnabled(callback: AsyncCallback<boolean>): void;\n    /**\n     * Checks whether distributed notification is enabled on this device. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @returns { Promise<boolean> } Promise used to return the result. The value true means that distributed notification\n     *                               is enabled, and false means the opposite.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600010 - Distributed operation failed.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    function isDistributedEnabled(): Promise<boolean>;\n    /**\n     * Sets the notification badge number. This API uses an asynchronous callback to return the result.\n     * If the badgeNumber is set to 0, badges are cleared; if the value is greater than 99, 99+ is displayed on the badge.\n     *\n     * @param { number } badgeNumber - Notification badge number to set.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 10\n     */\n    /**\n     * Sets the notification badge number. This API uses an asynchronous callback to return the result.\n     * If the badgeNumber is set to 0, badges are cleared; if the value is greater than 99, 99+ is displayed on the badge.\n     *\n     * @param { number } badgeNumber - Notification badge number to set.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    /**\n     * Sets the notification badge number. This API uses an asynchronous callback to return the result.\n     * If the badgeNumber is set to 0, badges are cleared; if the value is greater than 99, 99+ is displayed on the badge.\n     *\n     * @param { number } badgeNumber - Notification badge number to set.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 18\n     */\n    function setBadgeNumber(badgeNumber: number, callback: AsyncCallback<void>): void;\n    /**\n     * Sets the notification badge number. This API uses a promise to return the URI of the file in the destination directory.\n     * If the badgeNumber is set to 0, badges are cleared; if the value is greater than 99, 99+ is displayed on the badge.\n     *\n     * @param { number } badgeNumber - Notification badge number to set.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 10\n     */\n    /**\n     * Sets the notification badge number. This API uses a promise to return the URI of the file in the destination directory.\n     * If the badgeNumber is set to 0, badges are cleared; if the value is greater than 99, 99+ is displayed on the badge.\n     *\n     * @param { number } badgeNumber - Notification badge number to set.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    /**\n     * Sets the notification badge number. This API uses a promise to return the URI of the file in the destination directory.\n     * If the badgeNumber is set to 0, badges are cleared; if the value is greater than 99, 99+ is displayed on the badge.\n     *\n     * @param { number } badgeNumber - Notification badge number to set.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600012 - No memory space.\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 18\n     */\n    function setBadgeNumber(badgeNumber: number): Promise<void>;\n    /**\n     * Obtains a notification setting of the calling application.\n     *\n     * @returns { Promise<NotificationSetting> } Returns notificationsetting of this application.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @syscap SystemCapability.Notification.Notification\n     * @since 20\n     */\n    function getNotificationSetting(): Promise<NotificationSetting>;\n    /**\n     * Opens the notification settings page of the application, which is displayed in semi-modal mode and can be used to set\n     * the notification enabling and notification mode. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification settings page.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600018 - the notification settings window is already displayed.\n     * @syscap SystemCapability.Notification.NotificationSettings\n     * @stagemodelonly\n     * @since 13\n     */\n    /**\n     * Opens the notification settings page of the application, which is displayed in semi-modal mode and can be used to set\n     * the notification enabling and notification mode. This API uses a promise to return the URI of the file in the destination directory.\n     *\n     * @param { UIAbilityContext } context - Ability context bound to the notification settings page.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 1600001 - Internal error.\n     * @throws { BusinessError } 1600003 - Failed to connect to the service.\n     * @throws { BusinessError } 1600018 - the notification settings window is already displayed.\n     * @syscap SystemCapability.Notification.NotificationSettings\n     * @stagemodelonly\n     * @since 18\n     */\n    function openNotificationSettings(context: UIAbilityContext): Promise<void>;\n    /**\n     * Describes a NotificationSetting instance.\n     *\n     * @typedef NotificationSetting\n     * @syscap SystemCapability.Notification.Notification\n     * @since 20\n     */\n    export interface NotificationSetting {\n        /**\n         * Indicates whether vibration is enabled.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Notification.Notification\n         * @since 20\n         */\n        vibrationEnabled: boolean;\n        /**\n         * Indicates whether sound is enabled.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Notification.Notification\n         * @since 20\n         */\n        soundEnabled: boolean;\n    }\n    /**\n     * Enumerates the notification slot types.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Enumerates the notification slot types.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Notification.Notification\n     * @atomicservice\n     * @since 12\n     */\n    export enum SlotType {\n        /**\n         * Unknown type. This type corresponds to SlotLevel being LEVEL_MIN.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Unknown type. This type corresponds to SlotLevel being LEVEL_MIN.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        UNKNOWN_TYPE = 0,\n        /**\n         * Notification slot for social communication. This type corresponds to SlotLevel being LEVEL_HIGH.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Notification slot for social communication. This type corresponds to SlotLevel being LEVEL_HIGH.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        SOCIAL_COMMUNICATION = 1,\n        /**\n         * Notification slot for service information. This type corresponds to SlotLevel being LEVEL_HIGH.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Notification slot for service information. This type corresponds to SlotLevel being LEVEL_HIGH.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        SERVICE_INFORMATION = 2,\n        /**\n         * Notification slot for content consultation. This type corresponds to SlotLevel being LEVEL_MIN.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Notification slot for content consultation. This type corresponds to SlotLevel being LEVEL_MIN.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        CONTENT_INFORMATION = 3,\n        /**\n         * Live view. A third-party application cannot directly create a notification of this slot type. After the system proxy creates a system live view,\n         * the third-party application releases a notification with the same ID to update the specified content.\n         * This type corresponds to SlotLevel being LEVEL_DEFAULT.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 11\n         */\n        /**\n         * Live view. A third-party application cannot directly create a notification of this slot type. After the system proxy creates a system live view,\n         * the third-party application releases a notification with the same ID to update the specified content.\n         * This type corresponds to SlotLevel being LEVEL_DEFAULT.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        LIVE_VIEW = 4,\n        /**\n         * Customer service message. This type is used for messages between users and customer service providers. The messages must be initiated by users.\n         * This type corresponds to SlotLevel being LEVEL_DEFAULT.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 11\n         */\n        /**\n         * Customer service message. This type is used for messages between users and customer service providers. The messages must be initiated by users.\n         * This type corresponds to SlotLevel being LEVEL_DEFAULT.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        CUSTOMER_SERVICE = 5,\n        /**\n         * Notification slot for other purposes. This type corresponds to SlotLevel being LEVEL_MIN.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Notification slot for other purposes. This type corresponds to SlotLevel being LEVEL_MIN.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        OTHER_TYPES = 0xFFFF\n    }\n    /**\n     * Enumerates the notification content types.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Enumerates the notification content types.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    export enum ContentType {\n        /**\n         * Normal text notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Normal text notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_BASIC_TEXT,\n        /**\n         * Long text notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Long text notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_LONG_TEXT,\n        /**\n         * Picture-attached notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Picture-attached notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_PICTURE,\n        /**\n         * Conversation notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Conversation notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_CONVERSATION,\n        /**\n         * Multi-line text notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        /**\n         * Multi-line text notification.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_MULTILINE,\n        /**\n         * Live view notification. A third-party application cannot directly create a notification of this type.\n         * After the system proxy creates a system live view, the third-party application releases a notification with the same ID to update the specified content.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 11\n         */\n        /**\n         * Live view notification. A third-party application cannot directly create a notification of this type.\n         * After the system proxy creates a system live view, the third-party application releases a notification with the same ID to update the specified content.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_SYSTEM_LIVE_VIEW,\n        /**\n         * Common live view notification. Only system applications are supported.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 11\n         */\n        /**\n         * Common live view notification. Only system applications are supported.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @atomicservice\n         * @since 12\n         */\n        NOTIFICATION_CONTENT_LIVE_VIEW\n    }\n    /**\n     * Enumerates the notification level.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export enum SlotLevel {\n        /**\n         * Notification is disabled.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        LEVEL_NONE = 0,\n        /**\n         * Notification is enabled, but the notification icon is not displayed in the status bar, with no banner and alert tone.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        LEVEL_MIN = 1,\n        /**\n         * Notification is enabled, and the notification icon is displayed in the status bar, with no banner and alert tone.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        LEVEL_LOW = 2,\n        /**\n         * Notification is enabled, and the notification icon is displayed in the status bar, with an alert tone but no banner.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        LEVEL_DEFAULT = 3,\n        /**\n         * Notification is enabled, and the notification icon is displayed in the status bar, with an alert tone and banner.\n         *\n         * @syscap SystemCapability.Notification.Notification\n         * @since 9\n         */\n        LEVEL_HIGH = 4\n    }\n    /**\n     * Describes a bundleOption in a notification.\n     *\n     * @typedef { _BundleOption } BundleOption\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type BundleOption = _BundleOption;\n    /**\n     * Describes an action button displayed in a notification.\n     *\n     * @typedef { _NotificationActionButton } NotificationActionButton\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type NotificationActionButton = _NotificationActionButton;\n    /**\n     * Describes a normal text notification.\n     *\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Describes a normal text notification.\n     *\n     * @typedef { _NotificationBasicContent } NotificationBasicContent\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    export type NotificationBasicContent = _NotificationBasicContent;\n    /**\n     * Describes notification types.\n     *\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Describes notification types.\n     *\n     * @typedef { _NotificationContent } NotificationContent\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    export type NotificationContent = _NotificationContent;\n    /**\n     * Describes a long text notification.\n     *\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Describes a long text notification.\n     *\n     * @typedef { _NotificationLongTextContent } NotificationLongTextContent\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    export type NotificationLongTextContent = _NotificationLongTextContent;\n    /**\n     * Describes a multi-line text notification.\n     *\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Describes a multi-line text notification.\n     *\n     * @typedef { _NotificationMultiLineContent } NotificationMultiLineContent\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    export type NotificationMultiLineContent = _NotificationMultiLineContent;\n    /**\n     * Describes a picture-attached notification.\n     *\n     * @typedef { _NotificationPictureContent } NotificationPictureContent\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type NotificationPictureContent = _NotificationPictureContent;\n    /**\n     * Describes a system live view notification.\n     *\n     * @typedef { _NotificationSystemLiveViewContent } NotificationSystemLiveViewContent\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    export type NotificationSystemLiveViewContent = _NotificationSystemLiveViewContent;\n    /**\n     * Defines a NotificationRequest instance.\n     *\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    /**\n     * Defines a NotificationRequest instance.\n     *\n     * @typedef { _NotificationRequest } NotificationRequest\n     * @syscap SystemCapability.Notification.Notification\n     * @crossplatform\n     * @since 12\n     */\n    export type NotificationRequest = _NotificationRequest;\n    /**\n     * Describes distributed options.\n     *\n     * @typedef { _DistributedOptions } DistributedOptions\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type DistributedOptions = _DistributedOptions;\n    /**\n     * Describes a NotificationSlot instance.\n     *\n     * @typedef { _NotificationSlot } NotificationSlot\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type NotificationSlot = _NotificationSlot;\n    /**\n     * Describes a NotificationTemplate instance.\n     *\n     * @typedef { _NotificationTemplate } NotificationTemplate\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type NotificationTemplate = _NotificationTemplate;\n    /**\n     * Describes a NotificationUserInput instance.\n     *\n     * @typedef { _NotificationUserInput } NotificationUserInput\n     * @syscap SystemCapability.Notification.Notification\n     * @since 9\n     */\n    export type NotificationUserInput = _NotificationUserInput;\n    /**\n     * Describes a system live view capsule type.\n     *\n     * @typedef { _NotificationCapsule } NotificationCapsule\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    export type NotificationCapsule = _NotificationCapsule;\n    /**\n     * Describes a system live view button type.\n     *\n     * @typedef { _NotificationButton } NotificationButton\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    export type NotificationButton = _NotificationButton;\n    /**\n     * Describes a system live view time type.\n     *\n     * @typedef { _NotificationTime } NotificationTime\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    export type NotificationTime = _NotificationTime;\n    /**\n     * Describes a system live view progress type.\n     *\n     * @typedef { _NotificationProgress } NotificationProgress\n     * @syscap SystemCapability.Notification.Notification\n     * @since 11\n     */\n    export type NotificationProgress = _NotificationProgress;\n}\nexport default notificationManager;\n",
}
export default FILE;